using System;
using Sanelib.Dto;

namespace Common.Commands
{
    public abstract class AuditedCommand : ICommand
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string ImageData { get; set; }
        public Guid UserId { get; set; }
        public abstract Guid? GetAggregateId(); 
        public abstract ErrorResult Validate();
    }
}